import React from "react";
import ReactDOM from "react-dom/client";
import "reset-css";

import "./assets/global.scss";
import { BrowserRouter } from "react-router-dom";
import App from './App' // 路由表写法使用APP
// import Router from "./router";

//状态管理
import { Provider } from "react-redux";
import store from "@/store";

ReactDOM.createRoot(document.getElementById("root")!).render(
  <Provider store={store}>
    <BrowserRouter>
      <App />
    </BrowserRouter>
  </Provider>
);
